<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FLITr: flitr::MultiFFmpegConsumer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FLITr
   &#160;<span id="projectnumber">1.x</span>
   </div>
   <div id="projectbrief">Framework for Live Image Transformation.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classflitr_1_1_multi_f_fmpeg_consumer.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classflitr_1_1_multi_f_fmpeg_consumer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">flitr::MultiFFmpegConsumer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="multi__ffmpeg__consumer_8h_source.html">multi_ffmpeg_consumer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for flitr::MultiFFmpegConsumer:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer__inherit__graph.png" border="0" usemap="#flitr_1_1_multi_f_fmpeg_consumer_inherit__map" alt="Inheritance graph"/></div>
<map name="flitr_1_1_multi_f_fmpeg_consumer_inherit__map" id="flitr_1_1_multi_f_fmpeg_consumer_inherit__map">
<area shape="rect" id="node2" href="classflitr_1_1_image_consumer.html" title="{flitr::ImageConsumer\n|&#45; SharedImageBuffer_\l&#45; ImageProducer_\l|+ ImageConsumer()\l+ ~ImageConsumer()\l+ getNumReadSlotsAvailable()\l+ getNumReadSlotsReserved()\l+ reserveReadSlot()\l+ releaseReadSlot()\l+ init()\l# setSharedImageBuffer()\l}" alt="" coords="5,5,211,229"/></map>
</div>
<div class="dynheader">
Collaboration diagram for flitr::MultiFFmpegConsumer:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer__coll__graph.png" border="0" usemap="#flitr_1_1_multi_f_fmpeg_consumer_coll__map" alt="Collaboration graph"/></div>
<map name="flitr_1_1_multi_f_fmpeg_consumer_coll__map" id="flitr_1_1_multi_f_fmpeg_consumer_coll__map">
<area shape="rect" id="node9" href="classflitr_1_1_multi_f_fmpeg_consumer_thread.html" title="{flitr::MultiFFmpegConsumer\lThread\n|&#45; ShouldExit_\l|+ MultiFFmpegConsumerThread()\l+ run()\l+ setExit()\l}" alt="" coords="5,1745,224,1882"/><area shape="rect" id="node2" href="classflitr_1_1_image_consumer.html" title="{flitr::ImageConsumer\n||+ ImageConsumer()\l+ ~ImageConsumer()\l+ getNumReadSlotsAvailable()\l+ getNumReadSlotsReserved()\l+ reserveReadSlot()\l+ releaseReadSlot()\l+ init()\l# setSharedImageBuffer()\l}" alt="" coords="12,1003,217,1210"/><area shape="rect" id="node4" href="classflitr_1_1_image_producer.html" title="{flitr::ImageProducer\n|# ImageFormat_\l# SharedImageBuffer_\l# CreateMetadataFunction_\l|+ ImageProducer()\l+ ~ImageProducer()\l+ init()\l+ getFormat()\l+ getNumWriteSlotsAvailable()\l+ trigger()\l+ seek()\l+ getLeastNumReadSlotsAvailable()\l+ setCreateMetadataFunction()\l# releaseReadSlotCallback()\l# addConsumer()\l# reserveWriteSlot()\l# releaseWriteSlot()\l}" alt="" coords="47,5,281,333"/><area shape="rect" id="node6" href="classflitr_1_1_shared_image_buffer.html" title="Class for passing images between producers and consumers." alt="" coords="217,400,452,936"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a16ef68c85f14b667db39dfd8597b2f78"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a16ef68c85f14b667db39dfd8597b2f78">MultiFFmpegConsumer</a> (<a class="el" href="classflitr_1_1_image_producer.html">ImageProducer</a> &amp;producer, uint32_t images_per_slot)</td></tr>
<tr class="memitem:a95fa6de48c275f9b922c54b4de1d31ce"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a95fa6de48c275f9b922c54b4de1d31ce">~MultiFFmpegConsumer</a> ()</td></tr>
<tr class="memitem:a4aec3b565c2d8e1962b5dd30a0306073"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a4aec3b565c2d8e1962b5dd30a0306073">setCodec</a> (<a class="el" href="namespaceflitr.html#a73acd9d15e5af340fa8bc3c507f2b493">VideoCodec</a> codec, int32_t bit_rate=-1)</td></tr>
<tr class="memitem:a63eec05924a36d950970127afe7c6483"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a63eec05924a36d950970127afe7c6483">setContainer</a> (<a class="el" href="namespaceflitr.html#af8d7be93e1289330f6daf03193a8edba">VideoContainer</a> container)</td></tr>
<tr class="memitem:afdac7353742e267b645056e93b017690"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#afdac7353742e267b645056e93b017690">init</a> ()</td></tr>
<tr class="memitem:a93532fa6830089f3e3d940b0567e9ff8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a93532fa6830089f3e3d940b0567e9ff8">openFiles</a> (std::string basename, const uint32_t frame_rate=<a class="el" href="ffmpeg__utils_8h.html#a688a89aeb3817bf9f41cf95870864498">FLITR_DEFAULT_VIDEO_FRAME_RATE</a>)</td></tr>
<tr class="memitem:a0b0cd37997d969e087faebc7cc9cd982"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a0b0cd37997d969e087faebc7cc9cd982">openFiles</a> (std::string basename, std::vector&lt; std::string &gt; basename_postfixes, const uint32_t frame_rate=<a class="el" href="ffmpeg__utils_8h.html#a688a89aeb3817bf9f41cf95870864498">FLITR_DEFAULT_VIDEO_FRAME_RATE</a>)</td></tr>
<tr class="memitem:a39231777a4690ffebd3a9e4b04f1db01"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a39231777a4690ffebd3a9e4b04f1db01">openFiles</a> (std::vector&lt; std::string &gt; filenames, const uint32_t frame_rate=<a class="el" href="ffmpeg__utils_8h.html#a688a89aeb3817bf9f41cf95870864498">FLITR_DEFAULT_VIDEO_FRAME_RATE</a>)</td></tr>
<tr class="memitem:ad8e83683d07264776d01394783a4569e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#ad8e83683d07264776d01394783a4569e">startWriting</a> ()</td></tr>
<tr class="memitem:ae7a4f21fba1733f027204beb21041129"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#ae7a4f21fba1733f027204beb21041129">stopWriting</a> ()</td></tr>
<tr class="memitem:a9b2734515291a9087fbfeee4c2a078d9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a9b2734515291a9087fbfeee4c2a078d9">closeFiles</a> ()</td></tr>
<tr class="inherit_header pub_methods_classflitr_1_1_image_consumer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflitr_1_1_image_consumer')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classflitr_1_1_image_consumer.html">flitr::ImageConsumer</a></td></tr>
<tr class="memitem:a58f2c3e5758b892ebeff2188aab0a024 inherit pub_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#a58f2c3e5758b892ebeff2188aab0a024">ImageConsumer</a> (<a class="el" href="classflitr_1_1_image_producer.html">ImageProducer</a> &amp;producer)</td></tr>
<tr class="memitem:a3c4c0805b3365307b3083dcb346b2af4 inherit pub_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#a3c4c0805b3365307b3083dcb346b2af4">~ImageConsumer</a> ()</td></tr>
<tr class="memitem:aa8d2103df0dac8755b1a0fdc206932f7 inherit pub_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#aa8d2103df0dac8755b1a0fdc206932f7">getNumReadSlotsAvailable</a> ()</td></tr>
<tr class="memitem:a17c1abc98c01ef35c6cb0b7de7cc94ef inherit pub_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#a17c1abc98c01ef35c6cb0b7de7cc94ef">getNumReadSlotsReserved</a> ()</td></tr>
<tr class="memitem:a384a5dbebf79677f73a53688edda4d71 inherit pub_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="classflitr_1_1_image.html">Image</a> ** &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#a384a5dbebf79677f73a53688edda4d71">reserveReadSlot</a> ()</td></tr>
<tr class="memitem:a7a84273411d105818dd6f1212cb78724 inherit pub_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#a7a84273411d105818dd6f1212cb78724">releaseReadSlot</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a406418d0f3e847ed16f9cb959aef0c51"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classflitr_1_1_image_format.html">ImageFormat</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a406418d0f3e847ed16f9cb959aef0c51">ImageFormat_</a></td></tr>
<tr class="memitem:a6b4ca6cee90ac94dc41045050ce444af"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a6b4ca6cee90ac94dc41045050ce444af">ImagesPerSlot_</a></td></tr>
<tr class="memitem:a96a7a8c3434543b2af023cc55b8ce03d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceflitr.html#a73acd9d15e5af340fa8bc3c507f2b493">VideoCodec</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a96a7a8c3434543b2af023cc55b8ce03d">Codec_</a></td></tr>
<tr class="memitem:aa4c4b6235d896125e379ade772a7b7a6"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#aa4c4b6235d896125e379ade772a7b7a6">BitRate_</a></td></tr>
<tr class="memitem:adbdf691a82e53659dd8912a1f453d4b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceflitr.html#af8d7be93e1289330f6daf03193a8edba">VideoContainer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#adbdf691a82e53659dd8912a1f453d4b8">Container_</a></td></tr>
<tr class="memitem:a314eba7940e677ab71f1740e94c13ae8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer_thread.html">MultiFFmpegConsumerThread</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a314eba7940e677ab71f1740e94c13ae8">Thread_</a></td></tr>
<tr class="memitem:acf079ecf4d7957aaaf737b94522cc809"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classflitr_1_1_f_fmpeg_writer.html">FFmpegWriter</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#acf079ecf4d7957aaaf737b94522cc809">FFmpegWriters_</a></td></tr>
<tr class="memitem:a21441e12a4bd7e67629d176f6097f087"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classflitr_1_1_metadata_writer.html">MetadataWriter</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a21441e12a4bd7e67629d176f6097f087">MetadataWriters_</a></td></tr>
<tr class="memitem:a73dabe4ea776decdb22fce9809dd5fd1"><td class="memItemLeft" align="right" valign="top">OpenThreads::Mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a73dabe4ea776decdb22fce9809dd5fd1">WritingMutex_</a></td></tr>
<tr class="memitem:a8c62cbb38486b01e9dc0954111159193"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a8c62cbb38486b01e9dc0954111159193">Writing_</a></td></tr>
<tr class="memitem:a01c6c52a8f9b0f9de5a55e87d1eda27f"><td class="memItemLeft" align="right" valign="top">std::tr1::shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="classflitr_1_1_stats_collector.html">StatsCollector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a01c6c52a8f9b0f9de5a55e87d1eda27f">MultiWriteStats_</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:aa4482d6daf22f70e1ed4e62dfd22d43f"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html#aa4482d6daf22f70e1ed4e62dfd22d43f">MultiFFmpegConsumerThread</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classflitr_1_1_image_consumer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classflitr_1_1_image_consumer')"><img src="closed.png" alt="-"/>&nbsp;Protected Member Functions inherited from <a class="el" href="classflitr_1_1_image_consumer.html">flitr::ImageConsumer</a></td></tr>
<tr class="memitem:a4f800e1ab9f514f6a642c4c91165e494 inherit pro_methods_classflitr_1_1_image_consumer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflitr_1_1_image_consumer.html#a4f800e1ab9f514f6a642c4c91165e494">setSharedImageBuffer</a> (<a class="el" href="classflitr_1_1_shared_image_buffer.html">SharedImageBuffer</a> &amp;b)</td></tr>
<tr class="memdesc:a4f800e1ab9f514f6a642c4c91165e494 inherit pro_methods_classflitr_1_1_image_consumer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called once we get added as a consumer.  <a href="#a4f800e1ab9f514f6a642c4c91165e494"></a><br/></td></tr>
</table>
<h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a16ef68c85f14b667db39dfd8597b2f78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MultiFFmpegConsumer::MultiFFmpegConsumer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classflitr_1_1_image_producer.html">ImageProducer</a> &amp;&#160;</td>
          <td class="paramname"><em>producer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>images_per_slot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_a16ef68c85f14b667db39dfd8597b2f78_cgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_a16ef68c85f14b667db39dfd8597b2f78_cgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_a16ef68c85f14b667db39dfd8597b2f78_cgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_a16ef68c85f14b667db39dfd8597b2f78_cgraph">
<area shape="rect" id="node3" href="classflitr_1_1_image_producer.html#a9495277a8122ec0f7cfb63dc83ceb955" title="flitr::ImageProducer\l::getFormat" alt="" coords="237,5,373,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a95fa6de48c275f9b922c54b4de1d31ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MultiFFmpegConsumer::~MultiFFmpegConsumer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_a95fa6de48c275f9b922c54b4de1d31ce_cgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_a95fa6de48c275f9b922c54b4de1d31ce_cgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_a95fa6de48c275f9b922c54b4de1d31ce_cgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_a95fa6de48c275f9b922c54b4de1d31ce_cgraph">
<area shape="rect" id="node3" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a9b2734515291a9087fbfeee4c2a078d9" title="flitr::MultiFFmpegConsumer\l::closeFiles" alt="" coords="237,5,421,51"/><area shape="rect" id="node7" href="classflitr_1_1_multi_f_fmpeg_consumer_thread.html#af79715fb593dbdf18c391ed4513a4ad6" title="flitr::MultiFFmpegConsumer\lThread::setExit" alt="" coords="237,74,421,121"/><area shape="rect" id="node5" href="classflitr_1_1_multi_f_fmpeg_consumer.html#ae7a4f21fba1733f027204beb21041129" title="flitr::MultiFFmpegConsumer\l::stopWriting" alt="" coords="469,5,653,51"/></map>
</div>
</p>

</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="a9b2734515291a9087fbfeee4c2a078d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::closeFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_cgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_cgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_cgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_cgraph">
<area shape="rect" id="node3" href="classflitr_1_1_multi_f_fmpeg_consumer.html#ae7a4f21fba1733f027204beb21041129" title="flitr::MultiFFmpegConsumer\l::stopWriting" alt="" coords="237,5,421,51"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_icgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_icgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_icgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_a9b2734515291a9087fbfeee4c2a078d9_icgraph">
<area shape="rect" id="node3" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a95fa6de48c275f9b922c54b4de1d31ce" title="flitr::MultiFFmpegConsumer\l::~MultiFFmpegConsumer" alt="" coords="237,5,421,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afdac7353742e267b645056e93b017690"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classflitr_1_1_image_consumer.html#a9ad528933a705ab2bb44a388a2937f33">flitr::ImageConsumer</a>.</p>

</div>
</div>
<a class="anchor" id="a93532fa6830089f3e3d940b0567e9ff8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::openFiles </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>basename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>frame_rate</em> = <code><a class="el" href="ffmpeg__utils_8h.html#a688a89aeb3817bf9f41cf95870864498">FLITR_DEFAULT_VIDEO_FRAME_RATE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_a93532fa6830089f3e3d940b0567e9ff8_icgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_a93532fa6830089f3e3d940b0567e9ff8_icgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_a93532fa6830089f3e3d940b0567e9ff8_icgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_a93532fa6830089f3e3d940b0567e9ff8_icgraph">
<area shape="rect" id="node3" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a0b0cd37997d969e087faebc7cc9cd982" title="flitr::MultiFFmpegConsumer\l::openFiles" alt="" coords="237,5,421,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0b0cd37997d969e087faebc7cc9cd982"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::openFiles </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>basename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::string &gt;&#160;</td>
          <td class="paramname"><em>basename_postfixes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>frame_rate</em> = <code><a class="el" href="ffmpeg__utils_8h.html#a688a89aeb3817bf9f41cf95870864498">FLITR_DEFAULT_VIDEO_FRAME_RATE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_a0b0cd37997d969e087faebc7cc9cd982_cgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_a0b0cd37997d969e087faebc7cc9cd982_cgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_a0b0cd37997d969e087faebc7cc9cd982_cgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_a0b0cd37997d969e087faebc7cc9cd982_cgraph">
<area shape="rect" id="node3" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a93532fa6830089f3e3d940b0567e9ff8" title="flitr::MultiFFmpegConsumer\l::openFiles" alt="" coords="237,5,421,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a39231777a4690ffebd3a9e4b04f1db01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::openFiles </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; std::string &gt;&#160;</td>
          <td class="paramname"><em>filenames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>frame_rate</em> = <code><a class="el" href="ffmpeg__utils_8h.html#a688a89aeb3817bf9f41cf95870864498">FLITR_DEFAULT_VIDEO_FRAME_RATE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4aec3b565c2d8e1962b5dd30a0306073"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::setCodec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceflitr.html#a73acd9d15e5af340fa8bc3c507f2b493">VideoCodec</a>&#160;</td>
          <td class="paramname"><em>codec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>bit_rate</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a63eec05924a36d950970127afe7c6483"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::setContainer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceflitr.html#af8d7be93e1289330f6daf03193a8edba">VideoContainer</a>&#160;</td>
          <td class="paramname"><em>container</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad8e83683d07264776d01394783a4569e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::startWriting </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae7a4f21fba1733f027204beb21041129"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MultiFFmpegConsumer::stopWriting </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classflitr_1_1_multi_f_fmpeg_consumer_ae7a4f21fba1733f027204beb21041129_icgraph.png" border="0" usemap="#classflitr_1_1_multi_f_fmpeg_consumer_ae7a4f21fba1733f027204beb21041129_icgraph" alt=""/></div>
<map name="classflitr_1_1_multi_f_fmpeg_consumer_ae7a4f21fba1733f027204beb21041129_icgraph" id="classflitr_1_1_multi_f_fmpeg_consumer_ae7a4f21fba1733f027204beb21041129_icgraph">
<area shape="rect" id="node3" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a9b2734515291a9087fbfeee4c2a078d9" title="flitr::MultiFFmpegConsumer\l::closeFiles" alt="" coords="237,5,421,51"/><area shape="rect" id="node5" href="classflitr_1_1_multi_f_fmpeg_consumer.html#a95fa6de48c275f9b922c54b4de1d31ce" title="flitr::MultiFFmpegConsumer\l::~MultiFFmpegConsumer" alt="" coords="469,5,653,51"/></map>
</div>
</p>

</div>
</div>
<h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aa4482d6daf22f70e1ed4e62dfd22d43f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer_thread.html">MultiFFmpegConsumerThread</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2>Member Data Documentation</h2>
<a class="anchor" id="aa4c4b6235d896125e379ade772a7b7a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t flitr::MultiFFmpegConsumer::BitRate_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a96a7a8c3434543b2af023cc55b8ce03d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceflitr.html#a73acd9d15e5af340fa8bc3c507f2b493">VideoCodec</a> flitr::MultiFFmpegConsumer::Codec_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adbdf691a82e53659dd8912a1f453d4b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceflitr.html#af8d7be93e1289330f6daf03193a8edba">VideoContainer</a> flitr::MultiFFmpegConsumer::Container_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="acf079ecf4d7957aaaf737b94522cc809"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classflitr_1_1_f_fmpeg_writer.html">FFmpegWriter</a> *&gt; flitr::MultiFFmpegConsumer::FFmpegWriters_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a406418d0f3e847ed16f9cb959aef0c51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classflitr_1_1_image_format.html">ImageFormat</a>&gt; flitr::MultiFFmpegConsumer::ImageFormat_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6b4ca6cee90ac94dc41045050ce444af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t flitr::MultiFFmpegConsumer::ImagesPerSlot_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a21441e12a4bd7e67629d176f6097f087"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classflitr_1_1_metadata_writer.html">MetadataWriter</a> *&gt; flitr::MultiFFmpegConsumer::MetadataWriters_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a01c6c52a8f9b0f9de5a55e87d1eda27f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::tr1::shared_ptr&lt;<a class="el" href="classflitr_1_1_stats_collector.html">StatsCollector</a>&gt; flitr::MultiFFmpegConsumer::MultiWriteStats_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a314eba7940e677ab71f1740e94c13ae8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer_thread.html">MultiFFmpegConsumerThread</a>* flitr::MultiFFmpegConsumer::Thread_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8c62cbb38486b01e9dc0954111159193"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool flitr::MultiFFmpegConsumer::Writing_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a73dabe4ea776decdb22fce9809dd5fd1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">OpenThreads::Mutex flitr::MultiFFmpegConsumer::WritingMutex_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/flitr/<a class="el" href="multi__ffmpeg__consumer_8h_source.html">multi_ffmpeg_consumer.h</a></li>
<li>src/flitr/<a class="el" href="multi__ffmpeg__consumer_8cpp.html">multi_ffmpeg_consumer.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceflitr.html">flitr</a></li><li class="navelem"><a class="el" href="classflitr_1_1_multi_f_fmpeg_consumer.html">MultiFFmpegConsumer</a></li>
    <li class="footer">Generated on Thu Dec 6 2012 09:15:45 for FLITr by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.2 </li>
  </ul>
</div>
</body>
</html>
